//
//  PersonCenterTableViewCell.m
//  MobileOffice
//
//  Created by Appel on 16/10/11.
//  Copyright © 2016年 liaoningjujin. All rights reserved.
//

#import "PersonCenterTableViewCell.h"

@implementation PersonCenterTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.userInteractionEnabled=YES;
        _headImageView=[MyControl creatImageViewWithFrame:CGRectMake(10, 10, 40, 40) imageName:nil];
        [self.contentView addSubview:_headImageView];
        
        _myTitle=[MyControl creatLabelWithFrame:CGRectMake(_headImageView.x+_headImageView.width+10, 0, 150, 60) text:@""];
        _myTitle.textColor=[UIColor whiteColor];
        [self.contentView addSubview:_myTitle];
        self.contentView.width=IPHONE_WIDTH;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
